在設定sshd的時,若想要關閉sshd登入的認證,請修改sshd_config
[root@localhost ~]# vim /etc/ssh/sshd_config
57 # To disable tunneled clear text passwords, change to no here!
58 #PasswordAuthentication yes
59 #PermitEmptyPasswords no
60 PasswordAuthentication no
#請把PasswordAuthentication yes 改為no
詳細內容請參考http://blog.faq-book.com/?p=2883